package com;

import org.apache.log4j.Logger;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * User: Dmitriy Akishin
 * Date: 31.03.2010
 * Time: 16:46:57
 */

/**
 * базовый класс для тестов
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"classpath:testContext.xml"})
//@TestExecutionListeners({
//        DependencyInjectionTestExecutionListener.class,
//        DirtiesContextTestExecutionListener.class
//})
public abstract class BaseTestCase {
    protected static final Logger log = Logger.getLogger(BaseTestCase.class);

    protected BaseTestCase() {
        log.info("Run test: " + this.getClass().getName());
    }
}
